import axios from './axios.js'
export default {
  // 登录
  login (params) {
    return axios.post(`/api/user/login`, params)
  },
  // 获取公共密钥
  fetchIdentify() {
    return axios.get('/api/user/fetchIdentify');
  },
  // 获取字典
  getdataDictionary () {
    return axios.post('/api/dict/list', {
      "data": {tenantId: 1},
      pageNo: 0,
      pageSize: 999
    })
  },
  dictListPage (params) {
    return axios.post('/api/dict/list', params)
  },

}
